By routing a grouped and ordered read request over Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, Entities, this inversion control method handles the request to obtain IGrouping<object, TEntity> aggregations composed of all TEntity entities grouped according to grouping criteria and finally sorted in the order defined by the OrderingCriteria<TEntity> set.

Namespace: Keystone.Carbonite.Linq
Assembly: Keystone.Carbonite.Linq (in Keystone.Carbonite.Linq.dll)

protected override IEnumerable<IGrouping<object, TEntity>> OnGet( 
Func<TEntity, object> groupingCriteria
IEnumerable<OrderingCriteria<IGrouping<object, TEntity>>> orderingCriteria 
)
This language is not supported or no code example is available.

Parameters

groupingCriteria

Type: Func<TEntity, object>

The grouping criteria.

orderingCriteria

Type: IEnumerable<OrderingCriteria<IGrouping<object, TEntity>>>

The ordering criteria.

Return Value

All entity aggregations, ordered.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono